package siedler.communication;

public class DiceResult {

	private PeerI playerRef;
	private int[] diceResult;
	private boolean approvedByThisPeer = false;
	private boolean approvedByAllPeers = false;
	
	public DiceResult(PeerI playerRef, int[] diceResult){
		this.playerRef = playerRef;
		this.diceResult = diceResult;
	}

	public boolean isApprovedByThisPeer() {
		return approvedByThisPeer;
	}

	public void setApprovedByThisPeer(boolean approvedByThisPeer) {
		this.approvedByThisPeer = approvedByThisPeer;
	}

	public boolean isApprovedByAllPeers() {
		return approvedByAllPeers;
	}

	public void setApprovedByAllPeers(boolean approvedByAllPeers) {
		this.approvedByAllPeers = approvedByAllPeers;
	}

	public PeerI getPlayerRef() {
		return playerRef;
	}


	public void setPlayerRef(PeerI playerRef) {
		this.playerRef = playerRef;
	}


	public int[] getDiceResult() {
		return diceResult;
	}


	public void setDiceResult(int[] diceResult) {
		this.diceResult = diceResult;
	}
	
}
